/*
 *    Copyright (c) 2018-2025, proj All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the proj developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: proj
 */

package com.ykht.proj.coupon.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * cms 素材表
 *
 * @author proj code generator
 * @date 2021-02-01 16:22:52
 */
@Data
@TableName("fx_cms_source")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "cms 素材表")
public class FxCmsSource extends Model<FxCmsSource> {
private static final long serialVersionUID = 1L;

    /**
     * 
     */
    @TableId
    @ApiModelProperty(value="")
    private Long id;
    /**
     * 素材名称
     */
    @ApiModelProperty(value="素材名称")
    private String name;
    /**
     * 素材地址
     */
    @ApiModelProperty(value="素材地址")
    private String sourceUrl;
    /**
     * 1图片2视频
     */
    @ApiModelProperty(value="1图片2视频")
    private Integer type;
    /**
     * 1文章嵌套 2普通上传
     */
    @ApiModelProperty(value="1文章嵌套 2普通上传")
    private Integer subType;
    /**
     * 是否收藏 1是 2否
     */
    @ApiModelProperty(value="是否收藏 1是 2否")
    private Integer collect;
    /**
     * 视频时长字符串
     */
    @ApiModelProperty(value="视频时长字符串")
    private String time;
    /**
     * 品牌id
     */
    @ApiModelProperty(value="品牌id")
    private Long brandId;
    /**
     * 1 默认无 2表示logo水印
     */
    @ApiModelProperty(value="1 默认无 2表示logo水印")
    private Integer watermarkType;
    /**
     * 创建人
     */
    @ApiModelProperty(value="创建人")
    private Long createUser;
    /**
     * 修改人
     */
    @ApiModelProperty(value="修改人")
    private Long updateUser;
    /**
     * 创建时间
     */
    @ApiModelProperty(value="创建时间")
    private LocalDateTime createTime;
    /**
     * 修改时间
     */
    @ApiModelProperty(value="修改时间")
    private LocalDateTime updateTime;
    /**
     * 1是0否
     */
	@TableLogic
	@ApiModelProperty(value="0可用1删除")
	private Integer delFlag;
    /**
     * 租户ID
     */
    @ApiModelProperty(value="租户ID",hidden=true)
    private Integer tenantId;
    }
